package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.vo.R;

import java.util.List;

public interface DishService extends IService<Dish> {
    R add(DishDto dto);

    R findById(Long id);

    R updateDish(DishDto dto);

    R pageInfo(Integer page, Integer pageSize,String name);


    void statusAll(Integer status, List<Long> ids);

    R deleteAll(List<Long> ids);


}
